package cn.fws.meap.user.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.fws.framework.web.entity.BaseEntity;
import java.util.Date;

/**
 * 收藏记录表 meap_Collect
 * 
 * @author chenkh
 * @date 2019-03-07
 */
public class Collect extends BaseEntity {

	private static final long serialVersionUID = 1L;
	
	/** 编号 */
	private String id;
	/** 文章类型 */
	private String articleType;
	/** 文章id */
	private String articleId;
	/** 用户id */
	private String openid;
	/** 作者id */
	private String authorId;
	/** 用户头像 */
	private String userMsg;
	/** 收藏状态(是/否取消) */
	private String isCollect;

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}
	public void setArticleType(String articleType) {
		this.articleType = articleType;
	}

	public String getArticleType() {
		return articleType;
	}
	public void setArticleId(String articleId) {
		this.articleId = articleId;
	}

	public String getArticleId() {
		return articleId;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getOpenid() {
		return openid;
	}
	public void setAuthorId(String authorId) {
		this.authorId = authorId;
	}

	public String getAuthorId() {
		return authorId;
	}
	public void setUserMsg(String userMsg) {
		this.userMsg = userMsg;
	}

	public String getUserMsg() {
		return userMsg;
	}
	public void setIsCollect(String isCollect) {
		this.isCollect = isCollect;
	}

	public String getIsCollect() {
		return isCollect;
	}

	@Override
	public String toString() {
		return "Collect{" +
				"id='" + id + '\'' +
				", articleType='" + articleType + '\'' +
				", articleId='" + articleId + '\'' +
				", openid='" + openid + '\'' +
				", authorId='" + authorId + '\'' +
				", userMsg='" + userMsg + '\'' +
				", isCollect='" + isCollect + '\'' +
				'}';
	}
}
